<%-------------------------------------------------------------------
 * 页面名称：innerTop.jsp
 * 功能描述：登录后页面Sitemesh菜单页面
 * Action  :
 *
 *-------------------------------------------------------------------
--%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib uri="struts-bean.tld" prefix="bean"%>
<%@ taglib uri="struts-logic.tld" prefix="logic"%>
<%@ page import="java.util.*"%>
<%@ page import="cn.agiledata.bank.common.util.Constant"%>
<%@ page import="cn.agiledata.bank.account.service.IAccountConst"%>
<%@ page import="cn.agiledata.bank.account.service.AccountSummary"%>
<%
String path = request.getContextPath();
// 取得Session中用户登录信息
AccountSummary user = (AccountSummary) session.getAttribute(Constant.SESSION_ACCOUNT_SUMMARY);
%>
<%

if (user != null&& !IAccountConst.USERTYPE_CORP_ADMIN.equals(user.getUserType())) {
	if(user.getCompanyType() == null ||IAccountConst.COMPANY_TYPE_SIMPLE.equals(user.getCompanyType())) {
		// 个人用户&企业操作员（非网关用户）
%>
<!-- 个人用户&普通企业操作员菜单 begin -->
	<jsp:include page="innerMenuPerson.jsp" flush="true"/>
<!-- 个人用户&普通企业操作员菜单 end -->
<%	}
	if(IAccountConst.COMPANY_TYPE_GATEWAY.equals(user.getCompanyType())) {
%>
<!-- 网关企业用户菜单 begin -->
	<jsp:include page="innerMenuGateway.jsp" flush="true"/>
<!-- 网关企业用户菜单 end -->
<%	}
}
if(user != null && IAccountConst.USERTYPE_CORP_ADMIN.equals(user.getUserType())) {
%>
<!-- 企业admin用户菜单 begin -->
	<jsp:include page="innerMenuAdmin.jsp" flush="true"/>
<!-- 企业admin用户菜单 end -->
<%}%>